package cf.luobo.covid_19.javaBean.pojo;

public class Users {
    private int id;
    private String uname;
    private String pwd;
    private int age;
    private String sex;
    private boolean admin;

    public Users() {
    }

    public Users(int id, String uname, String pwd, int age, String sex, boolean admin) {
        this.id = id;
        this.uname = uname;
        this.pwd = pwd;
        this.age = age;
        this.sex = sex;
        this.admin = admin;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", uname='" + uname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", admin='" + admin + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setAdmin(boolean admin) {
        this.admin = admin;
    }

    public boolean getAdmin() {
        return admin;
    }
}
